$.Pageable = function (){
	var page = 1;
	var limit = 5;
	var sort = "id";
	var dir = "desc";
	this.getPage = function(){
		return page;
	};
	this.getLimit = function(){
		return limit;
	};
	this.getSort = function(){
		return sort;
	};
	this.getDir = function(){
		return dir;
	};
	this.setPage = function(value){
		page = value;
	};
	this.setLimit = function(value){
		limit = value;
	};
	this.setSort = function(value){
		sort = value;
	};
	this.setDir = function(value){
		dir = value;
	};
	return this;
	
};
function prev(){};
function next(){};
function moreNext(){};
function morePrev(){};
function first(){};
function last(){};
function _goto(){};
function test(){
	var pageable = new $.Pageable();
	$.ajax({
		type:"POST",
		url:"Test/test",
		dataType:"json",
		data:pageable,
		success:function(result){
			
		}
	});
};